package org.spring.spring.processor;

import java.util.Set;

/**
 * processor，类似于aop，实现功能增强
 * @author Administrator
 */
public interface BeanPostProcessor {

    /**
     * @param beanName:
     * @param object:
     * @return void
     * @author zhl
     * @description bean对象初始化之前调用
     * @date 2024/3/14 14:53
     */
    public Object postProcessorBeforeInitialization(String beanName,Object object);

    /**
     * @param beanName:
     * @param object:
     * @return void
     * @author zhl
     * @description bean对象初始化之后调用
     * @date 2024/3/14 14:53
     */
    public Object postProcessorAfterInitialization(String beanName, Object object, Set<String> set);
}
